﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media;

namespace JiveMessenger.ImagePreview.Cache
{
    public class CachedPreviewImage
    {
        public byte[] Source { get; set; }
        public string VideoUrl {get;set;}
        public string Url { get; set; }
        public Size Size { get; set; }
        public string Title { get; set; }
        public int ImgNum { get; set; }
        public int TotalImgCount { get; set; }

        public CachedPreviewImage(byte[] source, Size size, string title,string url, string videoUrl="",int imgNum = -1, int totalImgCount = -1)
        {
            this.Source = source;
            this.Size = size;
            this.Title = title;
            this.TotalImgCount = totalImgCount;
            this.ImgNum = imgNum;
            this.Url = url;
            this.VideoUrl = videoUrl;
        }
    }
}
